﻿using System;
using BinarySerialization;

namespace EditMode
{
    public enum Sight : uint
    {
        上 = 0x00,
        下 = 0x01,
        右 = 0x02,
        左 = 0x03,
        右上 = 0x04,
        左上 = 0x05,
        右下 = 0x06,
        左下 = 0x07,
        カメラ目線 = 0x08,
        上寄り = 0x09,
        下寄り = 0x0A,
        右寄り = 0x0B,
        左寄り = 0x0C,
        右上寄り = 0x0D,
        左上寄り = 0x0E,
        右下寄り = 0x0F,
        左下寄り = 0x10,
        前髪 = 0x11,
        鼻先 = 0x12,
        通常 = 0x13,
    }

    /// <summary> 
    /// Change edit player line of sight instruction. 
    /// </summary> 
    [Serializable]
    public class PlayerLineOfSight
    {
        [FieldOrder(0)]
        public uint Time { get; set; }

        [FieldOrder(1)]
        public byte Bool1 { get; set; }

        [FieldOrder(2)]
        public byte Bool2 { get; set; }

        [FieldOrder(3)]
        public byte Bool3 { get; set; }

        [FieldOrder(4)]
        public byte Bool4 { get; set; }

        [FieldOrder(5)]
        public Sight SightID { get; set; }

        [FieldOrder(6)]
        public uint Interpolation { get; set; }
    }
}
